import { request } from "../utils/request";


async function save(obj) {
    const result = await request({
        url: '/comment/save',
        method: "POST",
        data: obj
    });
    return result;

}

async function list() {
    const result = await request({
        url: '/comment/list',
        method: "GET"
    })
    return result;
}

export { save, list }

